//本代码文件由代码生成器生成
//时间：2011-03-24 23:46:26

using System;
using System.Collections.Generic;
using System.Text;

namespace GreatB2C.Model
{
    /// <summary>
    /// PE_Orders订单表模型类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class Orders
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public Int32 OrderID
        {
            get;
            set;
        }
        /// <summary>
        /// 订单编号
        /// </summary>
        public String OrderNum
        {
            get;
            set;
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public String UserName
        {
            get;
            set;
        }
        /// <summary>
        /// 代理商名
        /// </summary>
        public String AgentName
        {
            get;
            set;
        }
        /// <summary>
        /// 跟单员
        /// </summary>
        public String Functionary
        {
            get;
            set;
        }
        /// <summary>
        /// 客户ID
        /// </summary>
        public Int32 ClientID
        {
            get;
            set;
        }
        /// <summary>
        /// 订单总金额
        /// </summary>
        public System.Decimal MoneyTotal
        {
            get;
            set;
        }
        /// <summary>
        /// 购买商品合计金额
        /// </summary>
        public System.Decimal MoneyGoods
        {
            get;
            set;
        }
        /// <summary>
        /// 是否需要开发票
        /// </summary>
        public Boolean NeedInvoice
        {
            get;
            set;
        }
        /// <summary>
        /// 发表内容，包括抬头、商品名称、金额等
        /// </summary>
        public String InvoiceContent
        {
            get;
            set;
        }
        /// <summary>
        /// 是否已开发票
        /// </summary>
        public Boolean Invoiced
        {
            get;
            set;
        }
        /// <summary>
        /// 已收款
        /// </summary>
        public System.Decimal MoneyReceipt
        {
            get;
            set;
        }
        /// <summary>
        /// 开始服务日期
        /// </summary>
        public System.DateTime BeginDate
        {
            get;
            set;
        }
        /// <summary>
        /// 录入时间
        /// </summary>
        public System.DateTime InputTime
        {
            get;
            set;
        }
        /// <summary>
        /// 受货人姓名
        /// </summary>
        public String ContacterName
        {
            get;
            set;
        }
        /// <summary>
        /// 收货人地址
        /// </summary>
        public String Address
        {
            get;
            set;
        }
        /// <summary>
        /// 邮编
        /// </summary>
        public String ZipCode
        {
            get;
            set;
        }
        /// <summary>
        /// 手机
        /// </summary>
        public String Mobile
        {
            get;
            set;
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public String Phone
        {
            get;
            set;
        }
        /// <summary>
        /// Email
        /// </summary>
        public String Email
        {
            get;
            set;
        }
        /// <summary>
        /// 付款方式
        /// </summary>
        public Int32 PaymentType
        {
            get;
            set;
        }
        /// <summary>
        /// 送货方式
        /// </summary>
        public Int32 DeliverType
        {
            get;
            set;
        }
        /// <summary>
        /// 订单状态
        /// </summary>
        public Int32 Status
        {
            get;
            set;
        }
        /// <summary>
        /// 物流状态
        /// </summary>
        public Int32 DeliverStatus
        {
            get;
            set;
        }
        /// <summary>
        /// 是否开通下载
        /// </summary>
        public Boolean EnableDownload
        {
            get;
            set;
        }
        /// <summary>
        /// 返还的现金券
        /// </summary>
        public System.Decimal PresentMoney
        {
            get;
            set;
        }
        /// <summary>
        /// 赠送点券
        /// </summary>
        public Int32 PresentPoint
        {
            get;
            set;
        }
        /// <summary>
        /// 得到的积分
        /// </summary>
        public Int32 PresentExp
        {
            get;
            set;
        }
        /// <summary>
        /// 付款方式的折扣
        /// </summary>
        public System.Double Discount_Payment
        {
            get;
            set;
        }
        /// <summary>
        /// 运费
        /// </summary>
        public System.Decimal Charge_Deliver
        {
            get;
            set;
        }
        /// <summary>
        /// 内部记录
        /// </summary>
        public String Memo
        {
            get;
            set;
        }
        /// <summary>
        /// 订单类型
        /// </summary>
        public Int32 OrderType
        {
            get;
            set;
        }
        /// <summary>
        /// 优惠券
        /// </summary>
        public Int32 CouponID
        {
            get;
            set;
        }
        /// <summary>
        /// 订单发货单打印状态
        /// </summary>
        public Boolean PrintState
        {
            get;
            set;
        }
        /// <summary>
        /// 发货单打印时间
        /// </summary>
        public System.DateTime PrintTime
        {
            get;
            set;
        }
        /// <summary>
        /// 订单类型
        /// </summary>
        public Int32 OrderKind
        {
            get;
            set;
        }
        /// <summary>
        /// 订单快递单打印时间
        /// </summary>
        public System.DateTime ExpressPrintTime
        {
            get;
            set;
        }
        /// <summary>
        /// 订单快递单是否已打印
        /// </summary>
        public Boolean IsExpressPrinted
        {
            get;
            set;
        }
    }
}
